﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CanDoo.Oil.Core.DTOs
{
    /// <summary>
    /// 管理员调试出油记录。
    /// </summary>
    public class DebugOilRecord
    {
        /// <summary>
        /// 管理员卡号
        /// </summary>
        [Display(Name = "管理员卡号")]
        [Required]
        public string adminNo { get; set; }

        /// <summary>
        /// 门店编号
        /// </summary>
        [Display(Name = "门店编号")]
        [Required]
        public string storeNo { get; set; }

        /// <summary>
        /// 终端标号
        /// </summary>
        [Display(Name = "终端标号")]
        [Required]
        public string terminalNo { get; set; }

        /// <summary>
        /// 油口id
        /// </summary>
        [Display(Name = "油口id")]
        [Required]
        public int oilPort { get; set; }

        /// <summary>
        /// 取油记录类型
        /// </summary>
        [Display(Name = "取油记录类型")]
        [Required]
        public int type { get; set; }

        /// <summary>
        /// 取油量
        /// </summary>
        [Display(Name = "取油量")]
        [Required]
        public int millilitre { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        [Display(Name = "金额")]
        [Required]
        public int amount { get; set; }

        /// <summary>
        /// 油品id
        /// </summary>
        [Display(Name = "油品id")]
        [Required]
        public int oilId { get; set; }

        /// <summary>
        /// 取油时间
        /// </summary>
        [Display(Name = "取油时间")]
        [Required]
        public string takeOilTime { get; set; }

        /// <summary>
        /// 记录创建时间
        /// </summary>
        [Display(Name = "记录创建时间")]
        [Required]
        public string createTime { get; set; }
    }
}
